package com.un.ebs.production.domain;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductionWorkOrderOutExt)表实体类
 *
 * @author liubo
 * @since 2020-08-16 23:50:07
 */
@Data
@Component
@TableName("v_production_work_order_out_ext")
@SuppressWarnings("serial")
public class ProductionWorkOrderOutExt extends Model<ProductionWorkOrderOutExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "seq_item_code", length = 20, precision = 0)
    private String seqItemCode;

    @DbField(name = "seq_item_name", length = 100, precision = 0)
    private String seqItemName;

    @DbField(name = "work_minute", length = -1, precision = 0)
    private Integer workMinute;

    @DbField(name = "production_sku_id", length = 40, precision = 0)
    private String productionSkuId;

    @DbField(name = "production_sku_code", length = 100, precision = 0)
    private String productionSkuCode;

    @DbField(name = "production_sku_name", length = 2100, precision = 0)
    private String productionSkuName;

    @DbField(name = "business_ent_id", length = 40, precision = 0)
    private String businessEntId;

    @DbField(name = "business_ent_name", length = 100, precision = 0)
    private String businessEntName;

    @DbField(name = "production_order_item_id", length = 40, precision = 0)
    private String productionOrderItemId;

    @DbField(name = "production_seq_item_id", length = 40, precision = 0)
    private String productionSeqItemId;

    @DbField(name = "production_order_code", length = 100, precision = 0)
    private String productionOrderCode;

    @DbField(name = "plan_work_qty", length = 18, precision = 4)
    private Double planWorkQty;

    @DbField(name = "seq_sku_id", length = 40, precision = 0)
    private String seqSkuId;

    @DbField(name = "seq_sku_code", length = 100, precision = 0)
    private String seqSkuCode;

    @DbField(name = "seq_sku_name", length = 100, precision = 0)
    private String seqSkuName;

    @DbField(name = "contract_id", length = 40, precision = 0)
    private String contractId;

    @DbField(name = "contract_code", length = 50, precision = 0)
    private String contractCode;

    @DbField(name = "contract_price", length = 18, precision = 4)
    private Double contractPrice;

    @DbField(name = "seq_user_qty", length = -1, precision = 0)
    private Integer seqUserQty;

    @DbField(name = "production_order_id", length = 40, precision = 0)
    private String productionOrderId;

    @DbField(name = "purchase_order_id", length = 40, precision = 0)
    private String purchaseOrderId;

    @DbField(name = "purchase_order_code", length = 100, precision = 0)
    private String purchaseOrderCode;

    @DbField(name = "purchase_qty", length = 18, precision = 4)
    private Double purchaseQty;

    @DbField(name = "purchase_submit_status", length = -1, precision = 0)
    private Boolean purchaseSubmitStatus;

    @DbField(name = "plan_work_date", length = -1, precision = 0)
    private Date planWorkDate;

    @DbField(name = "plan_deliver_date", length = -1, precision = 0)
    private Date planDeliverDate;


}